<html>
 <head>
    <title>[var.TITLE]</title>
    <link href="[var.ROOT_CSS_DIR]/main.css" rel="STYLESHEET" type="text/css" charset="iso-8859-1" hreflang="en-us">
    <link href="[var.ROOT_CSS_DIR]/facet/style.css" rel="STYLESHEET" type="text/css" charset="iso-8859-1" hreflang="en-us">
    <script type="text/javascript" src="[var.ROOT_DIR]js/common.js"></script>
    <script type="text/javascript" src="[var.ROOT_DIR]js/doiMenuDOM.js"></script>
    <script type="text/javascript" src="[var.ROOT_DIR]js/functions.js"></script>
    <script type="text/javascript" src="[var.ROOT_DIR]js/jsmenu.php"></script>
    <script type="text/javascript" src="[var.ROOT_DIR]js/jsmenu.cfg"></script>
    <script type="text/javascript" src="[var.ROOT_DIR]js/jsformgrid.php?session=[var.SessionVar]"></script>
    <script type="text/javascript" src="[var.ROOT_DIR]js/jsmasks.js"></script>
    <script type="text/javascript" src="[var.ROOT_DIR]js/jsverify.php?session=[var.SessionVar]"></script>
    <script type="text/javascript" src="[var.ROOT_DIR]js/jsinit.php?session=[var.SessionVar]"></script>
    <script type="text/javascript" src="[var.ROOT_DIR]js/jquery.min.js"></script>
 </head>
 <body bgcolor="FFFFFF" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
 <iframe id="iLoader" style="display:none;"></iframe>
    <table border="0" cellspacing="0" cellpadding="0" width="100%" align="[var.POSITION]">
        <tr>
            <td>[tbs_include.onshow;file=[var.HTMLHeader];getob;]</td>
        </tr>
        <tr>
            <td>
            <table border="0" cellspacing="0" cellpadding="0" width="100%">
                <tr>
                    <td class="mainmenu2"><img src="images/spacer.gif" height="1" width="1"></td>
                </tr>
                <tr>
                    <td background="[var.ROOT_IMG_DIR]/back-menu.gif">
                    <table border="0" cellspacing="0" cellpadding="0" width="100%">
                        <tr>
                            <td>
                            <script language="JavaScript" type="text/JavaScript">menu.Build();</script>
                          </td>
                          <td class="head-login">Login as [var.USERPROFILE_NAME]</td>
                        </tr>
                      </table>
                    </td>
                </tr>

                <tr>
                    <td class="mainmenu2"><img src="images/spacer.gif" height="1" width="1"></td>
                </tr>
            </table>
            </td>
        </tr>
        <tr height="100%">
            <td>
            <table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
                <tr valign="top">
                    <td width="100%">
                        <table border="0" cellspacing="0" cellpadding="0" width="100%">
                            <tr>
                                <td class="head-path"></td>
                                <td class="corner-date">[var.CORNER_DATE]</td>
                            </tr>
                        </table>
                        <table border="0" cellspacing="0" cellpadding="5" width="100%">
                            <tr>
                                <td class="FacetHeaderContent" >.:[var.SubHeaderTitle]:.</td>
                            </tr>
                        </table>

                        <table border="0" cellspacing="0" cellpadding="5" width="100%">
                            <tr>
                                <td class="content2">
                        <!-- FORM SECTION -->
                        <table border="0" cellspacing="0" cellpadding="0" width="100%">
                        <form method="post" action="[var.FormAction]" name="[var.HTMLFormName]">
                              <tr>
                                <td class="FacetDataTD"><b>Kode Akun</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Acummulated Retained Earning:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption" ><input type="text" name="[bln.salrl]" value="[blv.salrl;noerr]" maxlength="255" size="20" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Year to Date Profit (Loss)</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption" ><input type="text" name="[bln.salrlytd]" value="[blv.salrlytd;noerr]" maxlength="255" size="20" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Exchange Rate:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption" ><input type="text" name="[bln.selkurs]" value="[blv.selkurs;noerr]" maxlength="255" size="20" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Advance :</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.bs]" value="[blv.bs;noerr]" maxlength="255" size="20" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="FacetDataTD"><b>Tax Voucher</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Prefix :</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.taxprefix]" value="[blv.taxprefix;noerr]" maxlength="255" size="10" onkeyup="this.value=this.value.toUpperCase()" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Office Code :</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.taxcode]" value="[blv.taxcode;noerr]" maxlength="255" size="10" onkeyup="this.value=this.value.toUpperCase()" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="FacetDataTD"><b>Tax Electronic</b></td>
                              </tr>
                              <tr>
                                <td class="fieldcaption">Kode Cabang Berdasarkan Kantor Pajak:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.kodecbg_pjk]" value="[blv.kodecbg_pjk;noerr]" maxlength="255" size="10" onkeyup="this.value=this.value.toUpperCase()" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="FacetDataTD"><b>Validasi Account untuk group hutang</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.apaging]" value="[blv.apaging;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="FacetDataTD"><b>Validasi Account untuk group piutang</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.araging]" value="[blv.araging;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="FacetDataTD"><b>Valid Account untuk Detail Mutasi Hutang</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.dm_hutang]" value="[blv.dm_hutang;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="FacetDataTD"><b>Valid Account untuk Detail Mutasi Piutang</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.dm_piutang]" value="[blv.dm_piutang;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="FacetDataTD"><b>Kode Kas Negara</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ppn_debtur]" value="[blv.ppn_debtur;noerr]" maxlength="255" size="12" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="FacetDataTD"><b>Skada PPN</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ppn_skada]" value="[blv.ppn_skada;noerr]" maxlength="255" size="12" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="FacetDataTD"><b>Skada ADM</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.adm_skada]" value="[blv.adm_skada;noerr]" maxlength="255" size="12" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="FacetDataTD"><b>Validasi Mutasi Bank</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption" >Valid Account untuk Detail Mutasi Bank :</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption" ><input type="text" name="[bln.nodetbank]" value="[blv.nodetbank;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              <tr>
                                <td  class="FacetDataTD"><b>Validasi Mutasi Kas</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Valid Account untuk Detail Mutasi Kas :</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.nodetkas]" value="[blv.nodetkas;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="FacetDataTD"><b>Debet Nota</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Tanda Tangan :</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttddn]" value="[blv.ttddn;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Rekening Bank :</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><textarea name="[bln.bankdn]" rows=4 cols=90 class="input">[blv.bankdn;htmlconv=no;noerr]</textarea></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>

                              <tr>
                                <td class="FacetDataTD"><b>Credit Nota</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Tanda Tangan :</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttdcn]" value="[blv.ttdcn;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              							  
							  
							  
							  <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="FacetDataTD"><b>BS Advance (As BK/BB and TK/TB as Reference)</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              <tr>
                              
                                <td class="fieldCaption">
                                  
                                        
                                         <div style="overflow:auto;height:300px;">
										 <table border="0" width="1200px" cellpadding="3" cellspacing="1" class="FacetFormTABLE" align="left">

											<tr>
													<td nowrap class="FacetColumnTD" align="center" width="35">X</td>
													<td nowrap class="FacetColumnTD" align="center" width="35">No.</td>
													<td nowrap class="FacetColumnTD" align="center" width="300">Staff</td>
													<td nowrap class="FacetColumnTD" align="center" width="210">Assignment</td>
													<td nowrap class="FacetColumnTD" align="center" width="210">Report Kind</td>
													<td nowrap class="FacetColumnTD" align="center" width="170">Range Left</td>
													<td nowrap class="FacetColumnTD" align="center">Range Right</td>
											</tr>

											<tr id="[blg.#]" style="display:[blg._display;noerr]">


												<td nowrap class="FacetDataTD" align="center">
												  <input type="checkbox" name="txtCheck[blg.#]" value="[blg.report_sign_id;noerr]" class="inputRadio">
												</td>

												<td nowrap class="FacetDataTD" align="right" align="right">
												  [blg.#;block=tr].
												  <input type="hidden" name="profile_id[blg.#]" value="[var.profile_id;noerr]">
												</td>


												<td nowrap class="FacetColumnTD" align="center">
												   
												    <select name="staffList" class="input" onchange="GetStaff('setup_company_param', '[blg.#]');">
														<option value="" selected>-</option>
														<option value="1">select</option>
													</select>

													<input type="hidden" name="staff_id[blg.#]" value="[blg.staff_id;noerr]" maxlength="255" size="25" class="input">
													<input type="text" name="staff_name[blg.#]" value="[blg.nama;noerr]" maxlength="255" size="25" id="input"  class="gridBox">
												   
												</td>

												<td nowrap class="FacetColumnTD" align="center">
												  <select name="assignment[blg.#]" id="input">
													 <option value="">-</option>
													 <option value="setuju_bayar">Setuju Bayar</option>
													 <option value="penanggung_jawab">Penanggung Jawab</option>
													 <option>[blg.assignment;selected;noerr]</option>
												   </select>
												</td>

												<td nowrap class="FacetColumnTD" align="center">
												  <select name="report_kind[blg.#]" id="input">
												     <option value="">-</option>
													 <option value="bs_jo">BS From Job Order</option>
													 <option value="bs_survey">BS From Survey</option>
													 <option value="bs_other">BS From Other</option>
													 <option>[blg.report_kind;selected;noerr]</option>
												   </select>
												</td>

												<td nowrap class="FacetColumnTD" align="center">
												  <input type="text"  name="range_left[blg.#]" value="[blg.range_left;noerr;frm='0,000.00']" id="input" size="15" onkeyup="verifyNumber('[blg.#]'); maskMode(this.name,this.value);">
												</td>

												<td nowrap class="FacetColumnTD" align="center">
												  <input type="text"  name="range_right[blg.#]" value="[blg.range_right;noerr;frm='0,000.00']" id="input" size="15" onkeyup="verifyNumber('[blg.#]'); maskMode(this.name,this.value);">
												</td>


											</tr>

										 </table>
										 </div>


										 <br>

										 <!--Next Line -->
										 <table border="0" width="1200" cellpadding="3" cellspacing="1" class="FacetFormTABLE" align="left" style="margin-bottom:20px;">

											<tr id="" style="">

												<td nowrap class="FacetDataTD" align="right">
												  <input name="FormAction" type="button" value="Delete Line" class="button" onClick="DeleteLines()">
												  <input name="FormAction" type="button" value="Next Line" class="button" onClick="return (AddFormGrid(this,'[var.HTMLFormName].staff_name'))">
												</td>

											</tr>

										 </table>
										 <!--End Next Line -->
										 
										 <!--END CARGO-->
                                        
                                  
                                </td>
                              
                              </tr>
							  
							  
							  <!--
							  <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              
                              <tr>
                                <td class="FacetDataTD"><b>BS Advance Job Order</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Menyetujui kurang / sama dengan 1 juta:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttd_setuju_jo_kur]" value="[blv.ttd_setuju_jo_kur;noerr]" maxlength="255" size="60" class="input" onkeyup="this.value=this.value.toUpperCase()"></td>
                              </tr>
							  <tr>
                                <td class="fieldCaption">Menyetujui lebih dari 1 juta:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttd_setuju_jo_lbh]" value="[blv.ttd_setuju_jo_lbh;noerr]" maxlength="255" size="60" class="input" onkeyup="this.value=this.value.toUpperCase()"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Penanggung Jawab kurang / sama dengan 15 juta:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttd_tgjwb_jo_kur]" value="[blv.ttd_tgjwb_jo_kur;noerr]" maxlength="255" size="60" class="input" onkeyup="this.value=this.value.toUpperCase()"></td>
                              </tr>
							  <tr>
                                <td class="fieldCaption">Penanggung Jawab lebih dari 15 juta:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttd_tgjwb_jo_lbh]" value="[blv.ttd_tgjwb_jo_lbh;noerr]" maxlength="255" size="60" class="input" onkeyup="this.value=this.value.toUpperCase()"></td>
                              </tr>
							  
							  
							  
							  <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="FacetDataTD"><b>BS Advance Survey</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Menyetujui kurang / sama dengan 1 juta:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttd_setuju_survey_kur]" value="[blv.ttd_setuju_survey_kur;noerr]" maxlength="255" size="60" class="input" onkeyup="this.value=this.value.toUpperCase()"></td>
                              </tr>
							  <tr>
                                <td class="fieldCaption">Menyetujui lebih dari 1 juta:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttd_setuju_survey_lbh]" value="[blv.ttd_setuju_survey_lbh;noerr]" maxlength="255" size="60" class="input" onkeyup="this.value=this.value.toUpperCase()"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Penanggung Jawab kurang / sama dengan 15 juta:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttd_tgjwb_survey_kur]" value="[blv.ttd_tgjwb_survey_kur;noerr]" maxlength="255" size="60" class="input" onkeyup="this.value=this.value.toUpperCase()"></td>
                              </tr>
							  <tr>
                                <td class="fieldCaption">Penanggung Jawab lebih dari 15 juta:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttd_tgjwb_survey_lbh]" value="[blv.ttd_tgjwb_survey_lbh;noerr]" maxlength="255" size="60" class="input" onkeyup="this.value=this.value.toUpperCase()"></td>
                              </tr>
							  
							  
							  
							  
							  <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="FacetDataTD"><b>BS Advance</b></td>
                              </tr>
                                                            
                              <tr>
                                <td class="fieldCaption">Menyetujui kurang / sama dengan 1 juta:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttd_setuju_oth_kur]" value="[blv.ttd_setuju_oth_kur;noerr]" maxlength="255" size="60" class="input" onkeyup="this.value=this.value.toUpperCase()"></td>
                              </tr>
							  <tr>
                                <td class="fieldCaption">Menyetujui lebih dari 1 juta:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttd_setuju_oth_lbh]" value="[blv.ttd_setuju_oth_lbh;noerr]" maxlength="255" size="60" class="input" onkeyup="this.value=this.value.toUpperCase()"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Penanggung Jawab kurang / sama dengan 1 juta:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttd_tgjwb_oth_kur]" value="[blv.ttd_tgjwb_oth_kur;noerr]" maxlength="255" size="60" class="input" onkeyup="this.value=this.value.toUpperCase()"></td>
                              </tr>
							  <tr>
                                <td class="fieldCaption">Penanggung Jawab lebih dari 1 juta:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttd_tgjwb_oth_lbh]" value="[blv.ttd_tgjwb_oth_lbh;noerr]" maxlength="255" size="60" class="input" onkeyup="this.value=this.value.toUpperCase()"></td>
                              </tr>
							  -->
							  
							  <!--BK/BB and TK/TB referenced by BS-->
							  <!--
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="FacetDataTD"><b>BK/BB</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Tanda Tangan Setuju Bayar:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttdbkbb1]" value="[blv.ttdbkbb1;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Limit Payment:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.jatahbkbb1]" value="[blv.jatahbkbb1;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Tanda Tangan Penanggung Jawab:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttdbkbb2]" value="[blv.ttdbkbb2;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Limit Payment:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.jatahbkbb2]" value="[blv.jatahbkbb2;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="FacetDataTD"><b>TK/TB</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Tanda Tangan Setuju Terima:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttdtktb1]" value="[blv.ttdtktb1;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Limit Payment:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.jatahtktb1]" value="[blv.jatahtktb1;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Tanda Tangan Penerima:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttdtktb2]" value="[blv.ttdtktb2;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Limit Payment:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.jatahtktb2]" value="[blv.jatahtktb2;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              -->
                              
                              
                              
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="FacetDataTD"><b>Kwitansi/Receipt</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Tanda Tangan:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttdkw]" value="[blv.ttdkw;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              
                              
                              <tr>
                                <td class="FacetDataTD"><b>Memorial</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Tanda Tangan:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttdmm]" value="[blv.ttdmm;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              
                              
                              <tr>
                                <td class="FacetDataTD"><b>Memorial BS Advance</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Tanda Tangan:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttdmb]" value="[blv.ttdmb;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              
                              
                              <tr>
                                <td class="FacetDataTD"><b>Memorial Akunting</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Tanda Tangan:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttdmacc]" value="[blv.ttdmacc;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              
                              
                              <tr>
                                <td class="FacetDataTD"><b>Aging Piutang</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Tanda Tangan Menyetujui:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttdagp1]" value="[blv.ttdagp1;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Tanda Tangan Membuat:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttdagp2]" value="[blv.ttdagp2;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="FacetDataTD"><b>Aging Hutang</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Tanda Tangan Menyetujui:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttdagh1]" value="[blv.ttdagh1;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Tanda Tangan Membuat:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttdagh2]" value="[blv.ttdagh2;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="FacetDataTD"><b>Daftar Kas</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Tanda Tangan Mengetahui:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttdkas1]" value="[blv.ttdkas1;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Tanda Tangan Menyetujui:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttdkas2]" value="[blv.ttdkas2;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Tanda Tangan Kasir:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.ttdkas3]" value="[blv.ttdkas3;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">&nbsp;</td>
                              </tr>
                              <tr>
                                <td class="FacetDataTD"><b>Job Order</b></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Bagian Operasi:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.bag_operasi]" value="[blv.bag_operasi;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption">Bagian Traffic:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.bag_traffic]" value="[blv.bag_traffic;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
							  <tr>
                                <td class="FacetDataTD"><b>MANAGER</b></td>
                              </tr>
							  <tr>
                                <td class="fieldCaption">Manager Marketing:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.manager_marketing]" value="[blv.manager_marketing;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
							  <tr>
                                <td class="fieldCaption">Manager Operasi:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.manager_operasi]" value="[blv.manager_operasi;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
							  <tr>
                                <td class="fieldCaption">Manager Keuangan:</td>
                              </tr>
                              <tr>
                                <td class="fieldCaption"><input type="text" name="[bln.manager_keuangan]" value="[blv.manager_keuangan;noerr]" maxlength="255" size="60" class="input"></td>
                              </tr>
                              <tr>
                               <td align="right" class="fieldCaption">
                                <table border="0" cellspacing="2" cellpadding="0">
                                    <tr>
                                        <td>[tbs_check;block=td;if [var.FormMode]=Add][tbs_check;block=td;if [var.USER_CANINSERT]=1]
                                        <input name="Action" type="submit" value="Add" class="button" >
                                        </td>
                                        <td>[tbs_check;block=td;if [var.FormMode]=Edit][tbs_check;block=td;if [var.USER_CANUPDATE]=1]
                                        <input name="Action" type="submit" value="Update" class="button" >
                                        </td>
                                        <td>
                                        <input name="Action" type="submit" value="Cancel" class="button">
                                        </td>
                      <td>
                       <input type="button" name="Action" value="Done" class="button" onClick="self.location.replace('[var.SERVER_URL]')">
                      </td>
                                    </tr>
                                </table>
                                </td>
                              </tr>
                         </form>
                         </table>
                         <!-- FORM SECTION -->
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            </td>
        </tr>
        <tr>
            <td>
            <br>
            <table border="0" cellspacing="0" cellpadding="0" width="100%">
                <tr>
                    <td class="footer1"><img src="images/spacer.gif" height="1" width="1"></td>
                </tr>
                <!--tr>
                    <td class="footer2">Prototype Test - Web Application</td>
                </tr-->
            </table>
            </td>
        </tr>
    </table>
 </body>
 
 
 
 <script>

 
 function AddFormGrid (cname,firstelemen) {
    var lastname ="";
    
    $(".gridBox:visible").each(function(n) {
        n = n+1;
        reccount = n;
        lastname = this.name;        
    });
    
        
    lastname = lastname.substring(10);
    
    lastname = parseInt(lastname)+1;
   
    reccount = parseInt(reccount)+1;


    if (reccount>=100) {
        cname.disabled = true;
    }
    
    var objrow = document.getElementById(lastname);
    

    if (objrow.style.display == 'none') {
        objrow.style.display = '';
    }

    eval(firstelemen+''+lastname+'.focus()');

    return false;
}






function verifyNumber(urut){

   oMask = new Mask('#,###.#0', 'number');
   
   var range_left = eval("document.[var.HTMLFormName].range_left"+urut+".value");
   var range_right = eval("document.[var.HTMLFormName].range_right"+urut+".value");
   
   var n = 0;
   var reccount = 0;
   
   //error handling for range left
   if(range_left == "") range_left = 0;
   else if (!IsNumeric(range_left)) alert('Range Left should be Numeric value');
   
   //error handling for range right
   if(range_right == "") range_right = 0;
   else if (!IsNumeric(range_right)) alert('Range Right should be Numeric value');

   
 }



function maskMode(names,values)
{
    oMask2 = new Mask('#,###.##', 'number');
    $("input[name="+names+"]").val(oMask2.format(values));

}
 
 
function IsNumeric(sText)
{
   var ValidChars = "0123456789.,";
   var IsNumber=true;
   var Char;


   for (i = 0; i < sText.length && IsNumber == true; i++)
      {
      Char = sText.charAt(i);
      if (ValidChars.indexOf(Char) == -1)
         {
         IsNumber = false;
         }
      }
   return IsNumber;

}


function GetStaff(need_another_var, no_urut) {
            newwin = window.open("ais_setup_stafflist.php?FormName=[var.HTMLFormName]&need_another_var="+need_another_var+"&no_urut="+ no_urut,"toolcalc","height=400,width=640,noscroll,resizable");
 }
 
 
 function DeleteLines(){
    $("input[name^=txtCheck]").each(   
      function(){
        if($(this).attr('checked')) {
            //alert($(this).val());
            var num = String($(this).attr('name')).replace('txtCheck','');
            //alert('num: ' + num);
            $('tr#'+num).remove();
        }
      }
    );
 }
 
 
 
 
 </script>
 
 
 
</html>
